package com.bd.scm.domain.models.visitor;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/** 附件实体
 * @author YH
 * @version 1.0
 * @date 2020/9/14 15:04
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("bd_visit_order_attachment")
public class VisitOrderAttachment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**访客附件ID*/
    private int id;

    /**访客单ID*/
    @TableField("visit_order_id")
    private long visitOrderId;

    /**附件原始名称*/
    @TableField("original_name")
    private String originalName;

    /**附件存放名称*/
    @TableField("new_name")
    private String newName;

}
